<?php
/**
 * Created by PhpStorm.
 * User: Devil
 * Date: 2019/11/4
 * Time: 15:06
 */
namespace App\ViewComposers;
use Illuminate\Http\Request;
use Illuminate\View\View;
use App\Http\logic\admin\AdminMenuLogic;
class BaseInfoComposer
{
    public function compose(View $view)
    {
        $category = new AdminMenuLogic();
        $category = $category->menuList();
        $view->with([
            'category' =>  $category,
        ]);
    }
}
